package com.baomidou.springwind.service;

import com.baomidou.framework.service.ISuperService;
import com.baomidou.mybatisplus.plugins.Page;
import com.baomidou.springwind.entity.Attendance;

import java.util.List;

/**
 * Created by yhx on 2016/12/13.
 */
public interface IAttendanceService extends ISuperService<Attendance> {
    List<Attendance> selectAttendanceById(String id);

    List<Attendance> selectAllAttendance(Page<Attendance> attendancePage);

    List<Attendance> selectByEmployeeName(int offset, int size, String keyword);

    List<Attendance> selectByEmployeeNum(int offset, int size, String keyword);

    List<Attendance> selectByEmployeeId(int offset, int size, String keyword);

    List<Attendance> selectByDepartmentName(int offset, int size, String keyword);
}
